<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>shopCar</title>
</head>

<body>
    <div class="shopCar">
        <p>我的购物车</p>
        <table border="" cellspacing="0" cellpadding=0 style="table-layout : auto">
            <thead>
                <tr>
                    <td width="50">
                        <input type="checkbox" name="" class="checkController">
                        <span>全选</span>
                    </td>
                    <td style="text-align: center;" width="50">
                        商品
                    </td>
                    <td width="200">名称</td>
                    <td>单价</td>
                    <td>优惠</td>
                    <td>尺码</td>
                    <td width="100">数量</td>
                    <td>操作</td>
                </tr>
            </thead>
            <tbody>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="8">
                        <a href="javascript:;" class="delChoice">删除所选商品</a>
                        <a href="javascript:;" class="addGoods">添加商品</a>
                        <div class="right">
                            <div>
                                <span class="selNumspan"></span>
                                <span>件商品总计:</span>
                                <span class="selsumPrice">0</span>
                            </div>
                            <div>
                                <span>优惠:</span>
                                <span class="discount">0</span>
                            </div>
                        </div>

                    </td>
                </tr>

            </tfoot>
        </table>
    </div>
</body>


<script>
    let a = [8, 5, 7];
    console.log(a.lastEle);
</script>

</html>